home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
lib
/
srch.uem
< prev
next >
Wrap
Text File
|
1995-07-21
|
967b
|
45 lines
; @(#) SRCH - microEmacs v3.9i+ macro file to search for tag under csr
;
; 'tag' is same as in tags.cmd ( fm where this macro was snarfed )
;
; MJH Feb 1991 v1.0
; Bound to C-X H.....
;
; Variables :
; %tag - tag string
;+ Examine how setup/use procedure names !!!
set $discmd FALSE
26 store-macro
; set %tag "Enter tag:"
; set %tag &cat "^" @%tag
!if &or &equal $curchar 20 &equal $curchar 9
next-word
!else
!while &equal 0 &sindex " ()[]{}*!=,~t~n" $char
;write-message &cat &cat "[" $char "]"
;set %wait >k
backward-character
!endwhile
forward-character
; previous-word
!endif
set %tag &chr $curchar
forward-character
!while &equal 0 &sindex " ()[]{},;=~t~n~l" $char
set %tag &cat %tag $char
forward-character
!endwhile
; write-message &cat &cat "tag [" %tag "]"
; set %wait >k
set-nmark "s"
!force search-forward %tag
!endm
set $discmd TRUE
bind-to-key execute-macro-26 ^XH